package com.tao.base


import java.lang.Exception

/**
 * @description: lab
 * @author: wangxf
 * @date: 2023/5/22 9:38
 */
interface BaseComponent {
    suspend fun initComponent(): Report
    suspend fun lazyInitComponent(): Report
    fun hasInit(): Boolean
}

data class Report(val result: State, val e: Exception);
enum class State();

/**
 * todo: 统一配置   1.模块：log模块、配置模块
 *                2.驱动：存储
 *                3.模块和驱动优先级排序
 *
 */